
<div style="width:400px; height:300px; text-align:center; margin: 0 auto; margin-top: 10%;">
	<h3>登录</h3>
	<hr>
	<%= form_for @user, url: grade_enter_path do |f|%>
      <%= f.label "用户名：" %>
      <%= f.text_field :username %>
      <br/>
      <%= f.label "密码：" %>
      <%= f.password_field :password %>
      <br/>
 	  <%= f.submit "进入", :class=>"btn btn-primary" %>
    <hr>
    <%end%>
</div>
